import { postRequest, getRequest } from '/@/lib/axios';

export const privilegesApi = {
  getList: (param) => {
    return getRequest('/access/roles/fetch', param);
  },
  getAppId:(param)=>{
    return getRequest('/permissions/privileges/get',param)
  },
  update:(param)=>{
    return postRequest('permissions/privileges/update',param)
  }
};
